package com.taoyeshu.common.utils;

/**
 * 
 * @描述:封装zTree对象
 * @作者 :HuanGe
 * @创建日期 :2015年10月5日 下午8:59:43
 *
 */
public class ZTreeObject {
	private Integer id;
	private String name;
	private Integer pid;
	private boolean open;
	private boolean checked;

	public ZTreeObject() {
		super();
	}

	public ZTreeObject(Integer id, String name, Integer pid, boolean open, boolean checked) {
		super();
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.open = open;
		this.checked = checked;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

}
